﻿namespace TestExtensions
{
    public interface IHasSummary : IHasXml
    {
        Summary Summary { get; set; }
    }

    public static class IHasSummaryExtensions
    {
        public static void LoadSummary(this IHasSummary @this)
        {
            @this.Summary = new Summary(@this.Element.Element("Summary"));
        }
    }
}